package org.zfes.snowier.cloud.zbss.widget.act.model;
import org.zfes.snowier.common.dao.IBaseModel;
public class ActQuestionDifficulty extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public ActQuestionDifficulty() {}
	public ActQuestionDifficulty(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->

 
	@javax.validation.constraints.NotBlank(message="问题类型不能为空")
	@javax.validation.constraints.NotNull(message="问题类型不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=20,message="问题类型长度不能大于20")
	  private java.lang.String name;
 

	@javax.validation.constraints.NotNull(message="启用状态不能为空")

	  private java.lang.Byte status;
 
	@org.hibernate.validator.constraints.Length(min=0,max=10,message="编码长度不能大于10")
	  private java.lang.String code;
 
	
	//<-------------------------------------------->
	public ActQuestionDifficulty setName(java.lang.String name){
		this.name=name==null?null:name.trim();
	 return this;
	}
	public java.lang.String getName(){
		return this.name;
	}
	public ActQuestionDifficulty setStatus(java.lang.Byte status){
	 this.status=status;
	 return this;
	}
	public java.lang.Byte getStatus(){
		return this.status;
	}
	public ActQuestionDifficulty setCode(java.lang.String code){
		this.code=code==null?null:code.trim();
	 return this;
	}
	public java.lang.String getCode(){
		return this.code;
	}

}
